<form method="post" action="<?php echo $this->baseurl("/developer/clearcache");?>">
<?php  echo $this->callElement("default/tools/tool_bar",array("buttons"=>array(array('type'=>'back'),array('type'=>'ok')) ,"title" => "Clear Temporary Cache ")); ?>
<? echo $this->callElement('default/tools/message', array('caption' =>'Message','type' => 'success', 'message' => $message));?>
<table width="100%">
<tr>
    <td width="50%">
    <div class="app_box">
        <h3 class="app_box_title"><span class="box-button">Clear Temporary Cache </span></h3>
        <div class="box-body">
            <div style="padding:15px">
                <?php 
                    echo App::Load("Helper/Html")->radioTag("data[Cache][type]",$cacheAllDef,'',null,array('html_wrapper'=>'br'));
                ?>
            </div>
        </div>
    </div>
    </td>
    <td>
        <div class="app_box">
        <h3 class="app_box_title"><span class="box-button">Estamate Space</span></h3>
        <div class="box-body">
            <div style="padding:2px;">
             <?php 
                foreach($spaceestimate as $space):
                    App::Module('DataGrid')->addRow( $space['title'],$space['size'] . "kb");
                endforeach;
                App::Module('DataGrid')->setHeader(array('Cache Type', 'Size'));
                App::Module('DataGrid')->setFooter("");
                App::Module('DataGrid')->render();               
             ?>
            </div>
        </div>
        </div>
    </td>
</tr>
</table>
<?php  echo $this->callElement("default/tools/tool_bar",array("buttons"=>array(array('type'=>'back'),array('type'=>'ok') ) ,"position" => 'bottom')); ?>
</form>